home *** CD-ROM | disk | FTP | other *** search
/ Aminet 7 / Aminet 7 - August 1995.iso / Aminet / docs / misc / ConcNews.lha / news / amiga.compilers / comp.sys.amiga.programmer_21803_000004.msg < prev    next >
Encoding:
Text File  |  1994-11-27  |  2.8 KB  |  74 lines

  1. Path: etek.chalmers.se!chalmers.se!sunic!mcsun!uunet!usc!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!magnus.acs.ohio-state.edu!usenet.ins.cwru.edu!ukma!rutgers!cbmvax!cbmehq!cbmger!edohwg!heinz
  2. From: heinz@edohwg.adsp.sub.org (Heinz Wrobel)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re:  Suggestion for SAS/C 6.01
  5. Message-ID: <heinz.04a1@edohwg.adsp.sub.org>
  6. Date: 27 Oct 92 18:22:23 GMT
  7. References: <BwKrFE.8tE@unx.sas.com> <paulk.23qu@terapin.com> <BwqFFu.FpB@unx.sas.com>
  8. Organization: Edotronik GmbH
  9. Lines: 64
  10.  
  11. In article <BwqFFu.FpB@unx.sas.com> walker@twix.unx.sas.com (Doug Walker) writes:
  12. >|> _cli_parse        turns arguments into argc and argv -- replaceable
  13. >
  14. >????  I don't understand what this does.
  15.  
  16. /*
  17.  *    This routine is called from the _main() routine and is used to
  18.  *    parse the arguments passed from the CLI to the program. It sets
  19.  *    up an array of pointers to arguments in the global variables and
  20.  *    and sets up _argc and _argv which will be passed by _main() to
  21.  *    the main() procedure. If no arguments are ever going to be
  22.  *    parsed, this routine may be replaced by a stub routine to reduce
  23.  *    program size.
  24.  *
  25.  *    If _arg_lin is non-zero, the _exit() routine will call FreeMem()
  26.  *    with _arg_lin as the memory to free and _arg_len as the size.
  27.  *
  28.  */
  29. _cli_parse(pp, alen, aptr)
  30. struct Process *pp;
  31. long alen;
  32. register char *aptr;
  33. {
  34.  
  35.  
  36. >|> scr_..        cursor control functions
  37. >
  38. >I would need more information, but offhand I don't think they are
  39. >in there.
  40.  
  41. Easy to replace. Basically you can just write the standard ANSI sequences
  42. out to the console. These functions just supply standrad functionality like
  43. scr_beep(), scr_tab(), scr_clear(), bla bla ...
  44.  
  45. >|> _wb_parse        called in Workbench startup -- reads WINDOW= tooltype
  46. >
  47. >???? Need more information.
  48.  
  49. /*
  50.  *    This routine is called from the _main() routine and is used to
  51.  *    open a window for standard I/O to use. The window is actually
  52.  *    defined by setting the ToolType, "WINDOW", to the desired window
  53.  *    specification. If this is not required, this routine may be
  54.  *    replaced by a stub in the users main program. Note that even if
  55.  *    this code is called by _main(), if the WINDOW tool type is not
  56.  *    defined, there will be no window.
  57.  *
  58.  *    EXAMPLE:    WINDOW=CON:0/0/640/200/Test Window
  59.  */
  60. _wb_parse(pp, wbm)
  61. register struct Process *pp;
  62. struct WBStartup *wbm;
  63. {
  64.  
  65.  
  66. >=*|_o_o|\\=====Doug Walker, Software Distiller====== BBS: (919)460-7430 =
  67.  
  68. --
  69. Heinz Wrobel, Edotronik GmbH (ECG018)
  70. FAX +49 89 850 51 25 / TEL +49 89 850 25 20 (HOME!&VOICE, sometimes...)
  71. Path: cbmehq!cbmger!edohwg!heinz@cbmvax.commodore.com
  72. "It's good to have a mouse, it's faster if you can do without one..."
  73. "He who doesn't develop with an A2024 doesn't know about font independent
  74.  user interfaces..."